package com.chang.mapper;

import com.chang.bean.CustomerInquiryDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @program: erp-api
 * @description:
 * @author: chang
 * @create: 2025-02-28 09h
 **/
@Mapper
public interface CustomerInquiryDetailMapper {

    int batchSave(@Param("id") int id, @Param("customerInquiryDetails") List<CustomerInquiryDetail> customerInquiryDetails);

    /**
     * 根据明细id查询产品相关信息
     *
     * @param id
     * @return
     */
    Map getDetail(int id);

}
